<?php

namespace AdminPanel\QuestionBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * ExamAnswerMap
 */
class ExamAnswerMap
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var integer
     */
    private $questionId;

    /**
     * @var integer
     */
    private $answerId;

    /**
     * @var integer
     */
    private $isActive;

    /**
     * @var \DateTime
     */
    private $createdAt;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set questionId
     *
     * @param integer $questionId
     * @return ExamAnswerMap
     */
    public function setQuestionId($questionId)
    {
        $this->questionId = $questionId;
    
        return $this;
    }

    /**
     * Get questionId
     *
     * @return integer 
     */
    public function getQuestionId()
    {
        return $this->questionId;
    }

    /**
     * Set answerId
     *
     * @param integer $answerId
     * @return ExamAnswerMap
     */
    public function setAnswerId($answerId)
    {
        $this->answerId = $answerId;
    
        return $this;
    }

    /**
     * Get answerId
     *
     * @return integer 
     */
    public function getAnswerId()
    {
        return $this->answerId;
    }

    /**
     * Set isActive
     *
     * @param integer $isActive
     * @return ExamAnswerMap
     */
    public function setIsActive($isActive)
    {
        $this->isActive = $isActive;
    
        return $this;
    }

    /**
     * Get isActive
     *
     * @return integer 
     */
    public function getIsActive()
    {
        return $this->isActive;
    }

    /**
     * Set createdAt
     *
     * @param \DateTime $createdAt
     * @return ExamAnswerMap
     */
    public function setCreatedAt($createdAt)
    {
        $this->createdAt = $createdAt;
    
        return $this;
    }

    /**
     * Get createdAt
     *
     * @return \DateTime 
     */
    public function getCreatedAt()
    {
        return $this->createdAt;
    }
    /**
     * @var integer
     */
    private $isCorrect;


    /**
     * Set isCorrect
     *
     * @param integer $isCorrect
     * @return ExamAnswerMap
     */
    public function setIsCorrect($isCorrect)
    {
        $this->isCorrect = $isCorrect;
    
        return $this;
    }

    /**
     * Get isCorrect
     *
     * @return integer 
     */
    public function getIsCorrect()
    {
        return $this->isCorrect;
    }
}